﻿using Microsoft.Extensions.Configuration;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Fortunate.Common.Global
{
    /// <summary>
    /// 全局配置
    /// </summary>
    public class FortunateGlobalContext
    {
        /// <summary>
        /// 全局配置
        /// </summary>
        public static IConfiguration Configuration { get; set; }

        /// <summary>
        /// jwt
        /// </summary>
        public static JwtSettings JwtSettings { get; set; }

        /// <summary>
        /// SM2配置
        /// </summary>
        public static SM2Config SM2Config { get; set; }

        /// <summary>
        /// SM4配置
        /// </summary>
        public static SM4Config SM4Config { get; set; }

        /// <summary>
        /// 目录配置
        /// </summary>
        public static DirectoryConfig DirectoryConfig { get; set; }

        /// <summary>
        /// Rsa 配置
        /// </summary>
        public static RsaConfig RsaConfig { get; set; }

        /// <summary>
        /// 阿里云oss相关配置
        /// </summary>
        public static AliyunOssConfig AliyunOssConfig { get; set; }

        /// <summary>
        /// Aes加密算法密钥
        /// </summary>
        public static string AesKey { get; set; }

        /// <summary>
        /// 是否测试
        /// </summary>
        public static string isTest { get; set; }

      

    }
}
